package top.yaofengqiao.springcloudsimple.system.api.dto;

import java.io.Serializable;

/**
 * @author yfq
 * @date 2024/5/25 14:16
 * @description
 */
public class UserDTO implements Serializable {
    private Long userId;

    private String username;

    public UserDTO() {
    }

    public UserDTO(Long userId, String username) {
        this.userId = userId;
        this.username = username;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                '}';
    }
}
